//
//  CHRDanTangHeaderScrollView.h
//  test
//
//  Created by Chen Heren on 16/10/12.
//  Copyright (c) 2016年 Chen Heren. All rights reserved.
//

#import <UIKit/UIKit.h>

@class CHRScrollView;

@protocol CHRScrollViewDelegate <NSObject>

-(void)CHRScrollView:(CHRScrollView *)scrollView selectedAt:(NSInteger)index;



@end

@interface CHRScrollView : UIView<UIScrollViewDelegate>

@property (strong, nonatomic) NSArray *imageUrls;

@property (nonatomic) CGFloat intervalTime;

@property (weak, nonatomic) id<CHRScrollViewDelegate> delegate;

-(instancetype)initWithFrame:(CGRect)frame ImageUrls:(NSArray *)imageUrls IntervalTime:(CGFloat)intervalTime;

@end
